package com.ruoyi.invoice.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.invoice.domain.SalesInvoiceType;

/**
 * 发票种类Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
public interface SalesInvoiceTypeMapper extends BaseMapper<SalesInvoiceType>
{
    /**
     * 查询发票种类
     * 
     * @param id 发票种类主键
     * @return 发票种类
     */
    public SalesInvoiceType selectSalesInvoiceTypeById(Long id);

    /**
     * 查询发票种类列表
     * 
     * @param salesInvoiceType 发票种类
     * @return 发票种类集合
     */
    public List<SalesInvoiceType> selectSalesInvoiceTypeList(SalesInvoiceType salesInvoiceType);

    /**
     * 新增发票种类
     * 
     * @param salesInvoiceType 发票种类
     * @return 结果
     */
    public int insertSalesInvoiceType(SalesInvoiceType salesInvoiceType);

    /**
     * 修改发票种类
     * 
     * @param salesInvoiceType 发票种类
     * @return 结果
     */
    public int updateSalesInvoiceType(SalesInvoiceType salesInvoiceType);

    /**
     * 删除发票种类
     * 
     * @param id 发票种类主键
     * @return 结果
     */
    public int deleteSalesInvoiceTypeById(Long id);

    /**
     * 批量删除发票种类
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSalesInvoiceTypeByIds(Long[] ids);
}
